package cn.pupil.springframework.core.convert.converter;

/**
 * @Description: 类型转换处理接口
 * @Author: pupil
 * @Date: 2024/12/16 下午 4:23
 */
public interface Converter<S, T> {

    /**
     * Convert the source object of type {@code S} to target type {@code T}.
     * 将类型为｛@code S｝的源对象转换为目标类型｛@code T｝
     */
    T convert(S source);
}
